package com.jiang.jixiang.api;


import com.jiang.jixiang.BuildConfig;

/**
 * 当前App所有Url
 */
public class AppUrlConfig {
    //aut http://118.195.133.236:9000

    public static String url;

    public static String TEST_PUBLIC_SERVER_URL = "https://jixiang.guokaixindian.com/client";//开发环境
    public static String PRODUCTION_PUBLIC_SERVER_URL = "https://jixiang.guokaixindian.com/client"; //开发环境


    /**
     * @return Api
     */
    public static String getOpenNewApi() {

        if (BuildConfig.DEBUG) {
            url = AppUrlConfig.TEST_PUBLIC_SERVER_URL;
        } else {
            url = AppUrlConfig.PRODUCTION_PUBLIC_SERVER_URL;
        }
        return url;
    }


    //    public static String getVersion1() {
    //        return "v1";
    //    }


    //    public static String getVersion2() {
    //        return "v2";
    //    }


}





